# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年12月29日
"""
from urllib.request import urlopen

url = 'http://www.baidu.com'
resp = urlopen(url)
# print(resp.read().decode('utf8'))

with open('mybaidu.html', mode='w') as f:
	f.write(resp.read().decode('utf-8'))

print('Over!')
